ComponentOne Web API Edition
TryGet Method

C1.Web.Api.Configuration Namespace > Manager<T> Class : TryGet Method
The item key.
The item
Try to get the instance which is mapped to the specified key.
Syntax
'Declaration
 
Public Function TryGet( _
   ByVal key As String, _
   ByRef value As T _
) As Boolean
public bool TryGet( 
   string key,
   out T value
)

Parameters

key
The item key.
value
The item

Return Value

true if contains an element with the specified key; otherwise, false.
See Also

Reference

Manager<T> Class
Manager<T> Members